package com.san.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @auoter:jackh
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class appVo extends RespBean {
    private String msDetailToken;
    private String path;


    public appVo(long code, Object message, Long totalCount, Object obj, String msDetailToken,String path) {
        super(code, message, totalCount, obj);
        this.msDetailToken = msDetailToken;
        this.path = path;
    }

    public static RespBean success(Object obj, String msDetailToken,String path){
        return new appVo(RespBeanEnum.SUCCESS.getCode(), RespBeanEnum.SUCCESS.getMessage(),0L,obj,msDetailToken,path);

    }
}
